﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserPowerClassManage.aspx.cs"
    Inherits="WebSystem.User.UserPowerClassManage" Theme="Normal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>管理员菜单权限管理</title>
    <script language="javascript" src="../js/Basic/BasicPage.js">            
    </script>
</head>
<body topmargin="0" leftmargin="0" style="background-color: #fcf6ec">
    <form id="form1" runat="server">
        <%--<div class="hycdnav">
            <div class="hycdcontent">
                控制面板>>>管理员菜单权限分类</div>
        </div>--%>
        <div class="hycdnav">
            <div class="hycdcontent">
                <span style="color: #ffffff">控制面板>>></span><span style="color: #f6ff00">管理员菜单权限分类</span>
            </div>
        </div>
        <div style="width: 100%; float: left; background-image: url(../Images/Basic/nav_bg2.gif);
            background-repeat: repeat-x;">
            <div class="hycdmain">
                <div class="hycdbottom">
                    &nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="false"
                        Text="全选" onclick="javascript:SelectAllCheckboxes(this)" />
                    &nbsp;&nbsp;<asp:ImageButton ID="ibtnDelete" runat="server" ImageUrl="../Images/Basic/shanchu.gif"
                        OnClick="ibtnDelete_Click" ToolTip="删除" />&nbsp;删除 &nbsp;&nbsp;<asp:ImageButton ID="ibtnAdd"
                            runat="server" ImageUrl="../Images/Basic/tianjia.gif" OnClick="ibtnAdd_Click"
                            ToolTip="新增" />&nbsp;新增
                </div>
                <div style="height: 40px; float: left;">
                </div>
                <div class="hycdgrid">
                    <%--列表主题--%>
                    <asp:GridView ID="gvGroup" runat="server" AutoGenerateColumns="False" OnRowCommand="gvGroup_RowCommand"
                        OnRowCreated="gvGroup_RowCreated" SkinID="normal2" OnRowDataBound="gvGroup_RowDataBound">
                        <Columns>
                            <asp:TemplateField Visible="False" HeaderText="AccountID">
                                <ItemTemplate>
                                    <asp:Label ID="label1" runat="server" Text='<%# Eval("PowerClassID") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="选择" HeaderStyle-Width="40px" HeaderStyle-Height="35px">
                                <HeaderStyle Width="40px" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:CheckBox ID="CheckBoxItem" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="权限菜单分类名称" HeaderStyle-Width="400px" HeaderStyle-Height="35px">
                                <HeaderStyle Width="400px" />
                                <ItemStyle HorizontalAlign="Left" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnGroupExpended" runat="server" CommandName="Group_expended"><div style="color:#426F98"><%# DataBinder.Eval(Container.DataItem, "Name")%></div>
                                    </asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="设置" HeaderStyle-Width="40px" HeaderStyle-Height="35px">
                                <HeaderStyle Width="40px" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <a href='UserPowerClassEdit.aspx?UserPowerClassID=<%# Eval("PowerClassID") %>' style="text-decoration: none">
                                        <div style="color: #426F98">
                                            修改</div>
                                    </a>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="权重">
                                <HeaderStyle Width="40px" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:Label ID="lblQZ" runat="server" Text='<%# Eval("RecordSort") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
